home *** CD-ROM | disk | FTP | other *** search
- //==============================================================================
- // Copyright 1995 by Potomac Software, Inc. Use of this material is subject to
- // the terms and conditions of the software license agreement.
- //
- // WEBLIBPB.CON: Contains PowerBuilder global variables for WebLib (TM).
- //==============================================================================
-
- // ========== Flags for ConnectBrowser ==========
- long WL_STARTBROWSER = 1 // Start browser if not running
- long WL_SENDMESSAGE = 2 // Notify caller via SendMessage
- long WL_POSTMESSAGE = 4 // Notify caller via PostMessage
-
- // ========== Flags for ListWindows ==========
- boolean WL_FIRSTWINDOW = TRUE // Get first window
- boolean WL_NEXTWINDOW = FALSE // Get next window (if any)
-
- //========== Flags for GetWindowInfo, ActivateWindow and OpenURL ==========
- long WL_ACTIVEWINDOW = -1 // Operate on active window
- long WL_LASTACTIVEWINDOW = -1 // Activate last active window
- long WL_NEWWINDOW = 0 // Create new window for URL
-
- //========== Flags for SetWindowPos ==========
- long WL_NOCHANGE = -1 // Do not change x, y, width, height
-
- //========== Flags for ShowWindow ==========
- uint WL_MINIMIZE = 1 // Minimize window
- uint WL_MAXIMIZE = 2 // Maximize window
- uint WL_NORMAL = 3 // Restore window to normal size
-
- //========== Flags for OpenURL, values must conform to DDE API ==========
- uint WL_NODOCUMENTCACHE = 1 // Ignore browser's doc cache
- uint WL_NOIMAGECACHE = 2 // Ignore browser's image cache
- uint WL_BACKGROUNDMODE = 4 // Operate in background mode
-
- //========== Flags that may be passed instead of notification window handle ==========
- uint WL_DEFAULTNOTIFY = -1 // Use default from SetDefaultNotify
- uint WL_NONOTIFY = 0 // Do not send notification message
-
- //========== Flags for UnRegisterURLEcho and others ==========
- uint WL_UNREGISTERALL = 0 // Unregister all windows
-
- //========== Flags for RegisterViewer, values must conform to DDE API ==========
- uint WL_SHELLEXECUTE = 1 // Launch viewer using ShellExecute
- uint WL_QUERYVIEWER = 2 // Send event to query filename
- uint WL_VIEWDOCFILE = 4 // Send event to view filename
-
- // ========== Flags for AddToolbarButton ==========
- uint WL_BITMAPHANDLES = 0 // passing bitmaps, not resource IDs
-
- //========== Flags for SetToolbarText ==========
- uint WL_TOOLBARTEXT = -1 // Set toolbar text, not button text
-
- //========== Flags for SetToolbarFont ==========
- uint WL_TOOLBARFONT = 1 // Set font for toolbar text
- uint WL_BUTTONFONT = 2 // Set font for button text
-
- //========== Flags for SetToolbarTextColor ==========
- uint WL_TOOLBARTEXTCOLOR = 1 // Set color for toolbar text
- uint WL_BUTTONTEXTCOLOR = 2 // Set color for button text
-
- //========== Notification events generated by API ==========
- uint WLN_BEGINPROGRESS = 1
- uint WLN_SETPROGRESSRANGE = 2
- uint WLN_MAKINGPROGRESS = 3
- uint WLN_ENDPROGRESS = 4
- uint WLN_FINISHED = 5
- uint WLN_CANCELED = 6
- uint WLN_URLECHO = 7
- uint WLN_OPENURL = 8
- uint WLN_CANCELTRX= 9
- uint WLN_WINDOWCHANGE = 10
- uint WLN_QUERYVIEWER = 11
- uint WLN_VIEWDOCFILE = 12
- uint WLN_BUTTONCLICKED = 13
- uint WLN_BROWSERSTART = 14
- uint WLN_BROWSEREXIT = 15
-
- //========== Flags for WindowChange notification event ==========
- long WLF_MOVESIZE = 1
- long WLF_MAXIMIZED = 2
- long WLF_NORMALIZED = 4
- long WLF_MINIMIZED = 8
- long WLF_CLOSED = 16
- long WLF_EXITING = 65536
-
- //========== Pre-defined notification message, included for convenience
- uint WM_WEBLIB_NOTIFY = 2000
-